<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Quản trị hệ thống</title>
<link rel="stylesheet" type="text/css" href="<?=base_url()?>templates/css/file.css">
<link rel="stylesheet" type="text/css" href="<?=base_url()?>templates/css/system.css">
<link rel="stylesheet" type="text/css" href="<?=base_url()?>templates/css/layout_basic.css">
<link rel="stylesheet" type="text/css" href="<?=base_url()?>templates/css/icon.css">
<link rel="stylesheet" type="text/css" href="<?=base_url()?>templates/css/styles.css">
<link rel="stylesheet" type="text/css" href="<?=base_url()?>templates/css/administrator.css">

<script type="text/javascript" src="<?=base_url()?>templates/js/jquery-core.js"></script>
<script type="text/javascript" src="<?=base_url()?>templates/js/ui/jquery.colorbox.min.js"></script> 
<script type="text/javascript" src="<?=base_url()?>templates/js/apps.js"></script>

</head>
<body>
	<? $seg2 = $this->uri->segment(2);?>
<div class="wrapper">
    <!--<div class="header">
        <div class="title">Quản lý File</div>
        <div class="close"><a onclick="self.parent.tb_remove();" href="#"><img alt="" src="<?=base_url()?>templates/images/close.png" /></a></div>
    </div>-->
    <!--<div class="media-upload-header">
        <ul id="menu">
            <li><a href="<?=base_url()?>filemanager/index" <?if($seg2=='index'){echo ' class="current"';}?>>Thư viện</a></li>
            <li><a href="<?=base_url()?>filemanager/upload" <?if($seg2=='upload'){echo ' class="current"';}?>>Upload FIle</a></li>
        </ul>
    </div>-->
    <div style="text-align:center; height:30px; width:400px; padding:5px;"><?php if(!empty($search_bar)){echo $search_bar;} ?></div>
    <div class="box-content" style="clear:both; margin-top:5px;"><?=$this->load->view($page)?></div>
</div>
<script type="text/javascript">
    $(document).ready(function(){
        setTimeout('$(".message").slideUp()', 1000) ;
    }) ;
    function auto_search(url_search)
	{
        var key_search = $("#key_search").val();
        $.ajax({
            type: "POST",
            url: "<?=base_url()?>"+url_search,
            data: {key_search:key_search,field_search:$("#field_search").val(),type:"ajax"},
            cache: false,
            dataType: "html",
            success: function(data){
                $(".box-content").html(data);
            }
        });
    }
</script>
</body>
</html>